/**
 * 
 */
package com.fbty.mt.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tab_ip_item", catalog = "mt", uniqueConstraints = {})
public class IpItem implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4565731971788854923L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true)
	private Integer id;
	
	@Column(name = "only_ip", unique = false, nullable = false, insertable = true, updatable = true)
	private String onlyIp;
	
	@Column(name = "item_no", unique = false, nullable = false, insertable = true, updatable = true)
	private String itemNo;
	
	private double days ;
	
	public void setDays(double days) {
		this.days = days;
	}
	
	public double getDays() {
		return days;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	
	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}
	
	public Integer getId() {
		return id;
	}
	
	
	public String getItemNo() {
		return itemNo;
	}
	
	public void setOnlyIp(String onlyIp) {
		this.onlyIp = onlyIp;
	}
	
	public String getOnlyIp() {
		return onlyIp;
	}

}
